package com.xingkeduo.dao;

import com.xingkeduo.model.example.TMarketingTranInfoCardExample;
import com.xingkeduo.model.po.TMarketingTranInfoCard;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TMarketingTranInfoCardMapper {
    int countByExample(TMarketingTranInfoCardExample example);

    int deleteByExample(TMarketingTranInfoCardExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TMarketingTranInfoCard record);

    int insertSelective(TMarketingTranInfoCard record);

    List<TMarketingTranInfoCard> selectByExample(TMarketingTranInfoCardExample example);

    TMarketingTranInfoCard selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TMarketingTranInfoCard record, @Param("example") TMarketingTranInfoCardExample example);

    int updateByExample(@Param("record") TMarketingTranInfoCard record, @Param("example") TMarketingTranInfoCardExample example);

    int updateByPrimaryKeySelective(TMarketingTranInfoCard record);

    int updateByPrimaryKey(TMarketingTranInfoCard record);
}